package cn.edu.zjut.medlinebackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import cn.edu.zjut.medlinebackend.model.Notification;

import java.util.List;

@Mapper
public interface NotificationMapper extends BaseMapper<Notification> {
    List<Notification> selectListByUsername(@Param("username") String username);

    boolean updateStatus(@Param("notificationid") Integer notificationid, @Param("status") String status);
}
